package com.ruoyi.binding.domain;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自动派单对象 mh_user_game_dispatch_config
 *
 * @author Ekko
 * @date 2025-06-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MhUserGameDispatchConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 下次派单时间
     */
    private Date nextTime;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 游戏名
     */
    @Excel(name = "游戏名")
    private String gameName;

    /**
     * 自动派单（0=否，1=是）
     */
    @Excel(name = "自动派单", readConverterExp = "0==否，1=是")
    private Integer autoDispatch;

    /**
     * 派单间隔
     */
    @Excel(name = "派单间隔")
    private Long dispatchInterval;

    /**
     * 消息类型
     */
    @Excel(name = "消息类型")
    private String msgType;

    /**
     * 机器人地址
     */
    @Excel(name = "机器人地址")
    private String webhookUrls;

    /**
     * 抽成
     */
    @Excel(name = "抽成")
    private BigDecimal userPriceRatio;

    /** 定时任务唯一ID */
    @Excel(name = "定时任务唯一ID")
    private Long taskId;

}
